// ArchWindow.h
// by Charles Mc Auley
// "Programming AutoCAD 2000 with ObjectARX"


#ifndef ARCHWINDOW_H
#define ARCHWINDOW_H

#include <gearc2d.h>

class ArchWindow : public RectWindow
{
	public:
		
		ArchWindow::ArchWindow();
		ArchWindow::~ArchWindow();

		void drawWindow(AcDbBlockTableRecord* pBlkTableRecord);

		void setWindowHeight(double windHeight);

	private:

		Adesk::Boolean drawArch(AcDbBlockTableRecord* pBlkTableRecord);

		Adesk::Boolean drawArc(AcDbBlockTableRecord* pBlkTableRecord,
								AcGeCircArc2d geArc);

		Adesk::Boolean drawArchInternalBars(AcDbBlockTableRecord* pBlkTableRecord,
											AcGePoint2dArray arcPtAr,
											AcGePoint2d cp,
											AcGeCircArc2d inrGeArc,
											AcGeCircArc2d smlGeArc);

		double rectFrameHt;
};

#endif